//
//  QuickCardLogic.h
//  QRMaster
//
//  Created by myApple on 16/5/30.
//  Copyright © 2016年 myApple. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "QuickCardModel.h"

typedef void(^quickCardBlock)(NSMutableArray * quickCardArray);

@interface QuickCardLogic : NSObject

/**
 *  删除某一间房卡
 *
 *  @param communityId 集群ID
 *  @param roomId      房间ID
 */
-(void)deleteQuickCard:(NSString *)communityId roomId:(NSString *)roomId;

/**
 *  查询所有房卡
 *
 *  @param quickCardArray 装有快捷房卡模型的数组
 */
-(void)queryAllQuickCardBlock:(quickCardBlock)quickCardArrayBlock;

/**
 *  插入快捷房卡
 *
 *  @param model 快捷房卡的数据模型
 */
-(void)insertQuickCard:(QuickCardModel *)model;

@end
